<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  	<%@ include file="../main.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<base href="basePath">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
    <style type="text/css">
    	#title
    	{
    		padding:20px;
    		font-size:40px;
    		font-weight:bold;
    		color:green;
    		text-align:center;
    	}
    	
    </style>
<title>个人信息</title>
</head>
<body>
<div id="title">
	
</div>
	<%
      	String ids = request.getParameter("id");
      	request.setAttribute("id", ids);
      %>
      <div class="weui-cells">
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>用户名 </p>
              </div>
              <div class="weui-cell__ft" id="name"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>性别</p>
              </div>
              <div class="weui-cell__ft" id="sex"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>生日</p>
              </div>
              <div class="weui-cell__ft" id="birthday"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>邮箱</p>
              </div>
              <div class="weui-cell__ft" id="email"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>手机号码</p>
              </div>
              <div class="weui-cell__ft" id="phone"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>个性签名</p>
              </div>
              <div class="weui-cell__ft" id="note"></div>
          </a>
          <a class="weui-cell weui-cell_access"  <c:if test="${session_user.status == 0 }">href="<c:url value='/UserEditServlet?edit=status&id=${id }' />"</c:if> >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>身份</p>
              </div>
              <div class="weui-cell__ft" id="status">
              	
              </div>
          </a>
          
          
          <a class="weui-cell weui-cell_access" <c:if test="${session_user.status == 0 or session_user.status == 1 }">href="<c:url value='/UserEditServlet?edit=mode&id=${id }' />"</c:if> >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>状态</p>
              </div>
              <div class="weui-cell__ft" id="mode">
              	
              </div>
          </a>
      </div>
      
      
      
		<input type="hidden" id="id" value="${id }">
    <script type="text/javascript">
	    $(function(){
	       desc();
	    });
    </script>
 		
	<script type="text/javascript">
	$(function(){
	       $('#online').addClass('weui-bar__item_on').siblings('.weui-bar__item_on').removeClass('weui-bar__item_on');
	   });
  
</script>
</body>
</html>